<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class MealSort extends Model
{
    protected $dateFormat = 'U';
    protected $table = "lexiang_meal_sort";
    protected $primaryKey = 'sort_id';

    public function getCreatedAtAttribute($v)
    {
    	return date('Y-m-d H:i',$v);
    }

    public function getUpdatedAtAttribute($v)
    {
    	return date('Y-m-d H:i',$v);
    }
}
